<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
		<title>公告列表</title>
	</head>
	<link rel="stylesheet" href="font/iconfont.css" />
	<link rel="stylesheet" href="css/css.css" />
	<link rel="stylesheet" href="dist/lib/weui.min.css">
	<link rel="stylesheet" href="dist/css/jquery-weui.min.css">
	<script type="text/javascript" src="dist/lib/jquery-2.1.4.js" ></script>
	<script src="dist/js/jquery-weui.min.js"></script>
	<script type="text/javascript" src="dist/lib/fastclick.js"></script>
	<style>
		body, html {height: 100%;-webkit-tap-highlight-color: transparent;}
		.weui-navbar__item{padding: 10px 0px !important;}
	</style>
	<body ontouchstart class="bgcolor">
		<header class="wy-header fixed-top">
			<div style="position: absolute;top:0px">
				<div class="wy-header-icon-back">
					<a href="javascript:history.back(-1)"><i class="iconfont icon-left6"></i></a>
				</div>
				<div class="wy-header-title">公告列表</div>
			</div>
		</header>	
		<div class="gglist" style="margin-top: 40px;">
			<div class="content-padded gg-list infinite">
				
				
			</div>
			<div class="weui-loadmore">
				<i class="weui-loading"></i>
				<span class="weui-loadmore__tips">正在加载</span>
			</div>
			<!--没有更多数据了-->
			<!--<div class="no-data txt-center p10">
				<p class="font-sm-color2">没有更多数据了</p>
			</div>-->
		</div>
		<div class="bottom-block"></div>
<!--footer-->
		<div class="weui-tabbar">
			<div class="weui-bootm">
			<a href="首页.html" class="weui-tabbar__item weui-bar__item--on">
				<div class="weui-tabbar__icon">
					<i class="iconfont icon-home"></i>
				</div>
				<p class="weui-tabbar__label">首页</p>
			</a>
			<a href="商品列表.html" class="weui-tabbar__item">
				<div class="weui-tabbar__icon">
					<i class="iconfont icon-renwu"></i>
				</div>
				<p class="weui-tabbar__label">已接任务</p>
			</a>
			<a href="分类.html" class="weui-tabbar__item">
				<div class="weui-tabbar__icon ">
					<i class="iconfont icon-xinxi2"></i>
				</div>
				<p class="weui-tabbar__label">申诉中心</p>
			</a>
			<a href="分类.html" class="weui-tabbar__item">
				<div class="weui-tabbar__icon ">
					<i class="iconfont icon-huodongzhongxin"></i>
				</div>
				<p class="weui-tabbar__label">活动中心</p>
			</a>
			<a href="个人中心.html" class="weui-tabbar__item">
				<div class="weui-tabbar__icon">
					<i class="iconfont icon-wode2"></i>
				</div>
				<p class="weui-tabbar__label">我的</p>
			</a>
			</div>
		</div>
	<script>
	  $(function() {
	    FastClick.attach(document.body);
	  });
	</script>
	
	<script>
		//滚动加载
		var loading = false;
      $(document.body).infinite().on("infinite", function() {
        if(loading) return;
        loading = true;
        setTimeout(function() {
          $(".gg-list").append("<p>新加载了一条公告！</p>");
          loading = false;
        }, 2000);
      });

    </script>

	</body>
</html>